package com.nervenets.shopping.service.impl;

import com.nervenets.general.service.impl.BaseServiceImpl;
import com.nervenets.shopping.hibernate.dao.ProductDao;
import com.nervenets.shopping.hibernate.domain.shopping.Product;
import com.nervenets.shopping.service.ProductService;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl extends BaseServiceImpl<Product, ProductDao> implements ProductService {
    @Override
    public void updateSaleCount(long id, long count) {
        dao.updateSaleCount(id, count);
    }
}
